package com.example.databasepj.dtoAdvanced;

public class FansRequest {
    //{
    //  "merchant_ID":123,      // 商家ID
    //  "start_date": "string",       // 开始日期，格式为 'YYYY-MM-DD'
    //  "end_date": "string",         // 结束日期，格式为 'YYYY-MM-DD'
    //  "threshold": 23        // 阈值，表示购买次数的最小值
    //}
    private int merchant_ID;
    private String start_date;
    private String end_date;
    private int threshold;

    public FansRequest(int merchant_ID, String start_date, String end_date, int threshold) {
        this.merchant_ID = merchant_ID;
        this.start_date = start_date;
        this.end_date = end_date;
        this.threshold = threshold;
    }

    public int getMerchant_ID() {
        return merchant_ID;
    }

    public void setMerchant_ID(int merchant_ID) {
        this.merchant_ID = merchant_ID;
    }

    public String getStart_date() {
        return start_date;
    }

    public void setStart_date(String start_date) {
        this.start_date = start_date;
    }

    public String getEnd_date() {
        return end_date;
    }

    public void setEnd_date(String end_date) {
        this.end_date = end_date;
    }

    public int getThreshold() {
        return threshold;
    }

    public void setThreshold(int threshold) {
        this.threshold = threshold;
    }
}
